<?php

use Illuminate\Database\Seeder;

class GoodsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $sql = "insert  into `goods`(`id`,`typeid`,`goods`,`company`,`descr`,`price`,`picname`,`state`,`store`,`num`,`clicknum`,`addtime`) values (1,16,'七匹狼男西装','七匹狼','七匹狼男西装七匹狼男西装',1200.00,'201604121105091405.jpg',2,30,0,0,1460446366),(3,13,'苹果5S','苹果','苹果5S特价',1380.00,'201604121013527577.jpg',1,40,0,0,1460448832),(6,7,'苹果MAC','苹果','苹果MAC',9999.99,'201604150756423937.jpg',1,20,0,0,1460699802),(5,15,'连衣裙','秋水伊人','秋水伊人',220.00,'201604121104207246.jpg',2,26,0,0,1460448925),(7,15,'香奈儿','香奈儿','香奈儿连衣裙',380.00,'201604150757598479.jpg',1,40,0,0,1460699879),(8,13,'华为手机','华为','华为手机',980.00,'201604150758409791.jpg',1,30,0,0,1460699920),(9,15,'牛仔短裙','香奈儿','牛仔短裙',128.00,'201604150800094872.jpg',1,18,0,0,1460700009),(10,7,'戴尔电脑','戴尔','戴尔电脑',3280.00,'201604150800519541.jpg',1,26,0,0,1460700051),(11,7,'明基电脑','明基','明基电脑',3180.00,'201604150801368752.jpg',1,20,0,0,1460700096),(12,7,'ThinkPadT4200','联想电脑','联想电脑--ThinkPadT4200',3490.00,'201604150803041407.jpg',1,20,0,0,1460700184)";
        DB::insert($sql);
    }

}
